package com.solotiger.douban.biz.model.movie;

import java.io.Serializable;
import java.util.List;

/**
 * 电影项目
 */
public class Subject implements Serializable {

    /**
     * rating : {"max":10,"average":7.9,"details":{"1":2048,"2":4709,"3":23622,"4":42009,"5":32046},"stars":"40","min":0}
     * genres : ["科幻","灾难"]
     * title : 流浪地球
     * casts : [{"avatars":{"small":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1533348792.03.jpg","large":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1533348792.03.jpg","medium":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1533348792.03.jpg"},"name_en":"Chuxiao Qu","name":"屈楚萧","alt":"https://movie.douban.com/celebrity/1359081/","id":"1359081"},{"avatars":{"small":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1501738155.24.jpg","large":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1501738155.24.jpg","medium":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1501738155.24.jpg"},"name_en":"Jing Wu","name":"吴京","alt":"https://movie.douban.com/celebrity/1000525/","id":"1000525"},{"avatars":{"small":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1540619056.43.jpg","large":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1540619056.43.jpg","medium":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1540619056.43.jpg"},"name_en":"Guangjie Li","name":"李光洁","alt":"https://movie.douban.com/celebrity/1275178/","id":"1275178"}]
     * durations : ["125分钟"]
     * collect_count : 1307401
     * mainland_pubdate : 2019-02-05
     * has_video : false
     * original_title : 流浪地球
     * subtype : movie
     * directors : [{"avatars":{"small":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1536678787.83.jpg","large":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1536678787.83.jpg","medium":"http://img1.doubanio.com/view/celebrity/s_ratio_celebrity/public/p1536678787.83.jpg"},"name_en":"Frant Gwo","name":"郭帆","alt":"https://movie.douban.com/celebrity/1276086/","id":"1276086"}]
     * pubdates : ["2019-02-05(中国大陆)"]
     * year : 2019
     * images : {"small":"http://img1.doubanio.com/view/photo/s_ratio_poster/public/p2545472803.jpg","large":"http://img1.doubanio.com/view/photo/s_ratio_poster/public/p2545472803.jpg","medium":"http://img1.doubanio.com/view/photo/s_ratio_poster/public/p2545472803.jpg"}
     * alt : https://movie.douban.com/subject/26266893/
     * id : 26266893
     */

    private Rating rating;
    private String title;
    private int collect_count;
    private String mainland_pubdate;
    private boolean has_video;
    private String original_title;
    private String subtype;
    private String year;
    private Avatar images;
    private String alt;
    private String id;
    private List<String> genres;
    private List<Cast> casts;
    private List<String> durations;
    private List<Cast> directors;
    private List<String> pubdates;

    public Rating getRating() {
        return rating;
    }

    public void setRating(Rating rating) {
        this.rating = rating;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getCollect_count() {
        return collect_count;
    }

    public void setCollect_count(int collect_count) {
        this.collect_count = collect_count;
    }

    public String getMainland_pubdate() {
        return mainland_pubdate;
    }

    public void setMainland_pubdate(String mainland_pubdate) {
        this.mainland_pubdate = mainland_pubdate;
    }

    public boolean isHas_video() {
        return has_video;
    }

    public void setHas_video(boolean has_video) {
        this.has_video = has_video;
    }

    public String getOriginal_title() {
        return original_title;
    }

    public void setOriginal_title(String original_title) {
        this.original_title = original_title;
    }

    public String getSubtype() {
        return subtype;
    }

    public void setSubtype(String subtype) {
        this.subtype = subtype;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public Avatar getImages() {
        return images;
    }

    public void setImages(Avatar images) {
        this.images = images;
    }

    public String getAlt() {
        return alt;
    }

    public void setAlt(String alt) {
        this.alt = alt;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<String> getGenres() {
        return genres;
    }

    public void setGenres(List<String> genres) {
        this.genres = genres;
    }

    public List<Cast> getCasts() {
        return casts;
    }

    public void setCasts(List<Cast> casts) {
        this.casts = casts;
    }

    public List<String> getDurations() {
        return durations;
    }

    public void setDurations(List<String> durations) {
        this.durations = durations;
    }

    public List<Cast> getDirectors() {
        return directors;
    }

    public void setDirectors(List<Cast> directors) {
        this.directors = directors;
    }

    public List<String> getPubdates() {
        return pubdates;
    }

    public void setPubdates(List<String> pubdates) {
        this.pubdates = pubdates;
    }
}
